<?php
// Get page header and page body text
function cunstructPageContent($pageId = 1) {
	$query = "SELECT * FROM  `page` WHERE Id = $pageId";
	$page = NULL;
	$result = mysql_query($query);
	if ($result) {
		while ($row = mysql_fetch_row($result) ) {
			$page = "<h1 class='pageBodyHeader_1'>$row[1]</h1>" . "<div class='pageBodyContent'>$row[2]</div>";
		}
		if ($page) return $page;
	}
	return 	cunstructPageContent(1);
}
?>